#include<iostream>
#include"employee.h"

Employee::Employee(int id, std::string name, int did)
{
	this->m_Id = id;
	this->m_Name = name;
	this->m_DeptId = did;
	}
void Employee::ShowId()
{
	std::cout << "职工编号：" << this->m_Id
		<< "\t职工姓名：" << this->m_Name
		<< "\t职工岗位：" << this->GetDeptName();
	}
std::string Employee::GetDeptName()
{
	return std::string("员工");
	}
